package com.lbtc.service;

import com.lbtc.domian.Category;
import com.lbtc.domian.User;
import com.lbtc.exception.LbtcMallException;
import org.springframework.stereotype.Service;

public interface UserService {
    public User getUserById(Integer id);

    public void registUser(String username, String password) throws LbtcMallException;

    public User login(User user) throws LbtcMallException;

    User lbtcLogin(String username, String password) throws LbtcMallException;

    User updateInformation(User user) throws LbtcMallException;

    boolean checkAdminRole(User currentUser);
}
